/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

.tools-bar {
  height: 44px;
  padding: 7px 20px 0;
  padding-right: 15px;
}

.tools-bar h4 {
  margin: 10px 0;
}

.project-head {
  display: inline-block;
  padding-right: 71px;
  position: relative;
}

.project-head .project-action {
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 8px;
  padding-left: 6px;
  text-align: left;
  width: 70px;
  display: none;
}

.project-head:hover .project-action {
  display: block;
}

.project-head .project-action a {
  padding: 3px;
  margin-left: 3px;
}

.project-head .badge {
  font-weight: normal;
  border-radius: 99px;
  color: #777;
  padding: 0 8px;
  margin-left: 5px;
}

.project-head .badge + .badge {
  margin-left: 0;
}

.project-toolbar > .btn-group {
  margin-top: 7px;
  margin-right: 3px;
}

.project-toolbar > .btn-group > .btn {
  min-height: 24px;
  line-height: 24px;
  min-width: 0;
  text-align: right;
  padding-right: 0;
}

.project-toolbar > .btn-group .dropdown-item-text {
  color: #b0b0b0;
  text-transform: uppercase;
  font-size: 0.8462rem;
}

#plan-boxes {
  white-space: nowrap;
  overflow: auto;
  margin: 0;
  padding-left: 20px;
  padding-bottom: 15px;
  display: flex;
  cursor: default;
}

#plan-boxes .plan-box-wrapper {
  flex: 0 0 320px;
  margin: 0;
}

#plan-boxes .plan-box-wrapper .plan-box {
  width: 300px;
}

.plan-box .plan-header .plan-title {
  font-weight: bold;
  margin: 10px 0;
}

.plan-box .plan-header .plan-title > small {
  font-weight: normal;
  font-size: 1rem;
  color: #777;
}

.plan-box .task-list {
  margin-bottom: 8px;
}

.plan-box .task-list .no-tasks {
  color: #999;
}

.task-card {
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 12px 14px 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.task-card:last-child {
  margin-bottom: 0;
}

.task-card:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  border-left: 6px solid #4285f4;
  padding-left: 8px !important;
}

.task-content-wrapper {
  display: flex;
  width: 100%;
}

.task-content-wrapper .task-status {
  width: 30px;
  overflow: hidden;
}

.task-content-wrapper .task-status .custom-control {
  margin-left: 2px;
}

.task-content-wrapper .task-content {
  flex: 1;
  padding: 4px 0;
}

.task-content-wrapper .task-content .badge {
  font-weight: normal;
  font-size: 12px;
  padding: 0.07692rem 0.38rem;
}

.task-content .task-title {
  color: #444;
  margin-bottom: 4px;
}

.task-content .task-time {
  font-size: 12px;
  color: #999;
}

.task-content .task-time .badge {
  margin-top: 2px;
  margin-bottom: 1px;
}

.task-content .task-tags {
  margin: 0 0 4px;
  word-wrap: break-word !important;
  word-break: break-all !important;
  white-space: normal !important;
}

.task-content .task-tags > a {
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
  margin-right: 8px;
}

.task-content .task-tags > a > i {
  float: left;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background-color: #ccc;
  margin-right: 4px;
  transform: translateY(4px);
}

.task-content .task-extras {
  margin-top: 4px;
}

.task-content .task-extras > .avatar,
.task-content .task-extras > .icon {
  float: left;
  cursor: default;
}

.task-content .task-extras > .avatar img {
  width: 24px;
  height: 24px;
}

.task-content .task-extras > .avatar + .avatar {
  margin-left: -10px;
}

.task-content .task-extras > .icon {
  font-size: 1.3rem;
  color: #999;
  margin-top: 5px;
}

.task-content .task-extras > .badge {
  background-color: #f7f7f7;
  color: #595959;
  border-width: 0;
  margin-top: 4px;
}

.task-card.highlight {
  box-shadow: none;
  opacity: 0.6;
  min-height: 34px;
}

.task-card.ui-sortable-helper {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.task-card.priority-0:hover {
  border-color: #aaa;
}

.task-card.priority-1:hover {
  border-color: #3d82f4;
}

.task-card.priority-2 {
  border-left: 3px solid #f7b904;
  padding-left: 11px;
}

.task-card.priority-2:hover {
  border-color: #f7b904;
  border-width: 6px;
}

.task-card.priority-3 {
  border-left: 3px solid #ea3f30;
  padding-left: 11px;
}

.task-card.priority-3:hover {
  border-color: #ea3f30;
  border-width: 6px;
}

.task-card.status-1:hover {
  border-color: #fff;
}

.task-card.status-1:hover {
  border-color: #fff !important;
}

.task-card.status-1,
.task-card.status-1 .task-title,
.task-card.status-1 .task-time,
.task-card.status-1 .custom-control-input:checked ~ .custom-control-label::after,
.status-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  color: #8c8c8c;
  border-color: #fff !important;
}

.task-card.status-1 .custom-control-input ~ .custom-control-label::before,
.status-checkbox .custom-control-input ~ .custom-control-label::before {
  border-color: #ccc;
  background-color: #fff !important;
}

.task-card.status-1 .task-card-body {
  opacity: 0.5;
}

.task-card.newbtn {
  text-align: center;
  font-size: 1.75rem;
  color: #aaa;
  padding: 2px 0 !important;
  border: 0 none !important;
}

.task-card.newbtn:hover {
  color: #4285f4;
}

.task-card.newtask {
  cursor: default;
  padding: 14px 16px !important;
  border: 0 none !important;
  margin-bottom: 12px;
}

.task-card.newtask .task-card-body textarea {
  border: 1px solid #d5d8de;
  resize: none;
  -webkit-appearance: none;
}

.task-card.newtask .task-card-body textarea:focus {
  border: 1px solid #ccc;
}

.task-card.newtask .task-card-body > div + div {
  margin-top: 12px;
}

.modal.rbview.task .modal-dialog .modal-content {
  width: 888px;
  margin-right: -1000px;
}
